summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle Kienapfel <Docteh@users.noreply.github.com>2022-10-11 22:01:29 +0200
committerKyle Kienapfel <Docteh@users.noreply.github.com>2022-10-14 02:23:47 +0200
commit40af1111c27968b5298a6ecd07b319422fed665d (patch)
tree20c1b8bcefd501adba96549befe0176732b41626
parentMerge pull request #9067 from Morph1984/tess-cw (diff)
downloadyuzu-40af1111c27968b5298a6ecd07b319422fed665d.tar
yuzu-40af1111c27968b5298a6ecd07b319422fed665d.tar.gz
yuzu-40af1111c27968b5298a6ecd07b319422fed665d.tar.bz2
yuzu-40af1111c27968b5298a6ecd07b319422fed665d.tar.lz
yuzu-40af1111c27968b5298a6ecd07b319422fed665d.tar.xz
yuzu-40af1111c27968b5298a6ecd07b319422fed665d.tar.zst
yuzu-40af1111c27968b5298a6ecd07b319422fed665d.zip
-rw-r--r--src/common/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
index a02696873..46cf75fde 100644
--- a/src/common/CMakeLists.txt
+++ b/src/common/CMakeLists.txt
@@ -169,7 +169,11 @@ endif()
create_target_directory_groups(common)
target_link_libraries(common PUBLIC ${Boost_LIBRARIES} fmt::fmt microprofile Threads::Threads)
-target_link_libraries(common PRIVATE lz4::lz4)
+if (TARGET lz4::lz4)
+ target_link_libraries(common PRIVATE lz4::lz4)
+else()
+ target_link_libraries(common PRIVATE LZ4::lz4_shared)
+endif()
if (TARGET zstd::zstd)
target_link_libraries(common PRIVATE zstd::zstd)
else()